/* 基础头部样式 */
.header {
  width: 100%;
  height: 70px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  z-index: 100;
}
/* loginBtn */
/* 滚动后的头部样式 */
.headerSticky {
  composes: header;
  position: sticky;
  top: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-bottom: none;
}

.left {
  display: flex;
  align-items: center;
  flex: 1;
}

/* Logo 区域 */
.logo {
  width: 200px;
  height: 30px;
  margin-right: 40px;
  /* transition: height 0.3s ease; */
}

.logoGif {
  height: 60px;
}

/* 导航菜单 - 滚动时隐藏 */
.navs {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navs li {
  margin-right: 24px;
  font-size: 16px;
  color: #333;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
  position: relative;
  padding: 4px 8px;
}

.navs li:hover {
  color: #ff7d04;
  background-color: rgba(255, 125, 4, 0.1);
  border-radius: 4px;
}

/* 搜索框区域 (滚动时显示) */
.searchBox {
  display: flex;
  align-items: center;
  margin-left: 20px;
  width: 420px;
}

.select {
  height: 36px;
  padding: 0 12px;
  border: 1px solid #ddd;
  border-radius: 4px 0 0 4px;
  outline: none;
  width: 120px;
  
}

.input {
  width: 240px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #ddd;
  border-left: none;
  border-right: none;
  outline: none;
}

.searchBtn {
  height: 36px;
  padding: 0 16px;
  background: #ff9900;
  color: white;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  font-weight: 500;
}

/* 右侧区域 */
.right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vipBtn {
  padding: 6px 12px;
  background: transparent;
  color: #333;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: color 0.2s;
}

.loginBtn {
  padding: 6px;
  background: transparent;
  color: #333;
  border: none;
  cursor: pointer;
  font-weight: 400;
  font-size:medium;
  transition: color 0.2s;
}

.loginBtn:hover {
  font-weight: 900;
}

.vipBtn:hover {
  color: #ff9900;
}

/* 新增：滚动时导航菜单隐藏 */
.headerScrolled .navs {
  display: none;
}

/* 新增操作按钮样式 */
.actionButtons {
  display: flex;
  gap: 8px;
  margin-right: 20px;
}

.actionBtn {
  padding: 6px 12px;
  background: transparent;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
  border: none;
}

.actionBtn {
  position: relative;
  padding-right: 24px;
}

.arrowIcon {
  margin-left: 6px;
  transition: transform 0.2s ease;
}

.actionBtn:hover .arrowIcon {
  transform: rotate(180deg);
}

.dropdownMenu {
  position: fixed;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 9999;
}

.dropdownMenuVisible {
  opacity: 1;
  transform: translateY(0);
}

.dropdownContent {
  padding: 12px 0;
  min-width: 160px;
}

.dropdownItem {
  padding: 8px 16px;
  color: #333;
  cursor: pointer;
}

.dropdownItem:hover {
  background: #f5f5f5;
  color: #ff7d04;
}

.actionBtn:hover {
  color: #ff7d04;
  border-color: #ff7d04;
}